package com.dognessnetwork.customer.controller.json;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.dognessnetwork.customer.util.LocaleMessage;

@RestController
public class ResourceLanguage {
    @Resource
    private LocaleMessage localeMessage;

    @RequestMapping("/hello")
    public String hello() {
        System.out.println("1");
        String msg3 = localeMessage.getMessage("welcome");
        System.out.println(msg3);
        return msg3;
    }
}
